package com.erp.produce.controller;

import com.erp.common.controller.BaseControllerPowerful;
import com.erp.common.service.BaseService;
import com.erp.produce.entity.Supplier;
import com.erp.produce.service.SupplierService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api("供应商信息接口")
@RestController
@RequestMapping("/supplier")
public class SupplierController extends BaseControllerPowerful<Supplier> {
    @Autowired
    SupplierService supplierService;

    @Override
    protected BaseService getService() {
        return this.supplierService;
    }
}
